package com.mall.DTO;

import com.mall.pojo.Wares;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description
 * @ClassName WaresDTO
 * @Author cxx
 * @Date 2023/4/25 22:25
 * @Version 1.0
 */


@EqualsAndHashCode(callSuper = true)
@Data
public class WaresDTO extends Wares implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 商品所属类别
     */
    private String className;
    /**
     * 购买商品时的备注
     */
    private String description;
    /**
     * 统计销售情况时商品的销售总金额
     */
    private BigDecimal amount;
}
